package View;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;

@SuppressWarnings("serial")
public class PanelSettings extends JPanel {

	private static PanelSettings single;

	private JLabel title = new JLabel("Instellingen");

	private Color backcolor = new Color(239, 238, 237);
	private Color titleColor = new Color(85, 85, 85);

	private PanelSettings() {
		setLayout(null);
		setBounds(140, 0, 860, 725);
		setBackground(backcolor);

		title.setBounds(330, 30, 200, 30);
		title.setForeground(titleColor);
		title.setFont(new Font("Serif", Font.BOLD, 20));

		add(title);
	}

	public static PanelSettings getInstance() {
		if (single == null) {
			single = new PanelSettings();
		}
		return single;
	}

	public static void selfDestroy() {
		single = null;
	}

}
